<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="demo.php" method="POST" name="get">
        用户名<input type="text" value="请输入用户名" name="username"><br>
         密码 <input type="password" name="psw"><br>
         男<input type="radio"name="1"> 女<input type="radio"name="1"><br>
         爱好：吃饭<input type="checkbox" name="hobby"> 睡觉<input type="checkbox" name="hobby">  打游戏<input type="checkbox" name="hobby">
         <input type="submit" value="免费注册"><br>
         <input type="reset"><br>
         上传头像:<input type="file"> <br>
    </form>
</body>

</html>